package igloo.ui.preferences;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class PreferencePanel extends JPanel
{
    private JTabbedPane mTabbedPane;

    public PreferencePanel()
    {
        setLayout(new BorderLayout());

        add(getTabbedPane(), BorderLayout.CENTER);
    }

    private JTabbedPane getTabbedPane()
    {
        if(mTabbedPane == null)
        {
            mTabbedPane = new JTabbedPane();
        }

        return mTabbedPane;
    }
}
